package com.hoapital.outpbillwork.module.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * <p>
 *
 * </p>
 *
 * @author lvyao
 * @since 2020-11-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("CLINIC_MASTER")
public class ClinicMaster implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("VISIT_DATE")
    private Timestamp visitDate;

    @TableField("VISIT_NO")
    private Integer visitNo;

    @TableField("CLINIC_LABEL")
    private String clinicLabel;

    @TableField("VISIT_TIME_DESC")
    private String visitTimeDesc;

    @TableField("SERIAL_NO")
    private Integer serialNo;

    @TableField("PATIENT_ID")
    private String patientId;

    @TableField("NAME")
    private String name;

    @TableField("NAME_PHONETIC")
    private String namePhonetic;

    @TableField("SEX")
    private String sex;

    @TableField("AGE")
    private Integer age;

    @TableField("IDENTITY")
    private String identity;

    @TableField("CHARGE_TYPE")
    private String chargeType;

    @TableField("INSURANCE_TYPE")
    private String insuranceType;

    @TableField("INSURANCE_NO")
    private String insuranceNo;

    @TableField("UNIT_IN_CONTRACT")
    private String unitInContract;

    @TableField("CLINIC_TYPE")
    private String clinicType;

    @TableField("FIRST_VISIT_INDICATOR")
    private Integer firstVisitIndicator;

    @TableField("VISIT_DEPT")
    private String visitDept;

    @TableField("VISIT_SPECIAL_CLINIC")
    private String visitSpecialClinic;

    @TableField("DOCTOR")
    private String doctor;

    @TableField("MR_PROVIDE_INDICATOR")
    private Integer mrProvideIndicator;

    @TableField("REGISTRATION_STATUS")
    private Integer registrationStatus;

    @TableField("REGISTERING_DATE")
    private Timestamp registeringDate;

    @TableField("SYMPTOM")
    private String symptom;

    @TableField("REGIST_FEE")
    private BigDecimal registFee;

    @TableField("CLINIC_FEE")
    private BigDecimal clinicFee;

    @TableField("OTHER_FEE")
    private BigDecimal otherFee;

    @TableField("CLINIC_CHARGE")
    private BigDecimal clinicCharge;

    @TableField("OPERATOR")
    private String operator;

    @TableField("RETURNED_DATE")
    private Timestamp returnedDate;

    @TableField("RETURNED_OPERATOR")
    private String returnedOperator;

    @TableField("INTERNAL_NO")
    private String internalNo;

    @TableField("IDENTITY_CLASS")
    private String identityClass;

    @TableField("CARD_NO")
    private String cardNo;

    @TableField("ID_NO")
    private String idNo;

    @TableField("GHLSH")
    private String ghlsh;

    @TableField("OUTP_ID")
    private Integer outpId;

    @TableField("DIAGCODE")
    private String diagcode;

    @TableField("PAY_WAY")
    private String payWay;

    @TableField("CALL_FLAG")
    private Integer callFlag;

    @TableField("ADDRESS")
    private String address;

    @TableField("HZBZ")
    private String hzbz;

    @TableField("INSUR_NO")
    private String insurNo;

    @TableField("REAL_CLINIC_FEE")
    private BigDecimal realClinicFee;

    @TableField("RETURNED_ACCT_NO")
    private String returnedAcctNo;

    @TableField("ACCT_NO")
    private String acctNo;

//    @TableField("APPOINT_ID")
//    private String appointId;

    @TableField("DOCTOR_ID")
    private String doctorId;

}
